package com.dubbo.platform.user.entity;

import java.io.Serializable;

/**
 * 用户实体类
 *
 *
 */

public class User implements Serializable {

    /**
     * 用户编号
     */
    private Long uid;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 昵称
     */
    private String nickname;

     public User() {
    }

    public User(Long uid, String mobile, String nickname) {
        this.uid = uid;
        this.mobile = mobile;
        this.nickname = nickname;
    }


    public Long getUid() {
        return uid;
    }

    public User setUid(Long uid) {
        this.uid = uid;
        return this;
    }

    public String getMobile() {
        return mobile;
    }

    public User setMobile(String mobile) {
        this.mobile = mobile;
        return this;
    }

    public String getNickname() {
        return nickname;
    }

    public User setNickname(String nickname) {
        this.nickname = nickname;
        return this;
    }
}
